<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
</head>
<body>
    list.jsp
    <a href="add">添加11</a>
<table class="layui-table">
        <c:forEach items="${list}" var="fruit">
            <tr>
                <td>${fruit.fruitId}</td>
                <td>${fruit.type}</td>
                <td>${fruit.breed}</td>
                <td>${fruit.area}</td>
                <td>${fruit.brief}</td>
                <td>${fruit.weight}</td>
                <td>${fruit.price}</td>
                <td>
                    <a href="user/${fruit.fruitId}">查看</a>
                    <a href="update/${fruit.fruitId}">修改</a>
                    <a href="delete/${fruit.fruitId}">删除</a>
                </td>
            </tr>
        </c:forEach>
</table>
</body>
</html>
